package io.renren.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * 
 * @author lym
 * @email 928185446qq.com
 * @date 2023-12-21 17:02:58
 */
@Data
@TableName("yc_user_experience")
public class YcUserExperienceEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Integer id;
	/**
	 * 添加时间
	 */
	private Date addtime;
	/**
	 * 删除状态
	 */
	private Boolean deletestatus;
	/**
	 * 简历ID
	 */
	private Integer resumeId;
	/**
	 * 公司名称
	 */
	private String companyName;
	/**
	 * 入职时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone= "GMT+8")
	private Date entryTime;
	/**
	 * 离职时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone= "GMT+8")
	private Date departureTime;
	/**
	 * 职位名称
	 */
	private String jobName;
	/**
	 * 月薪（元）
	 */
	private Integer salary;
	/**
	 * 工作描述
	 */
	private String description;

	@TableField(exist = false)
	private YcUserResumeEntity resume;

}
